package demo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 调拨单-调拨入库金额
 *
 * @author : feixiang.li
 * @since : 2025-06-19 11:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AllocationIncomeDTO implements Serializable {

    /**
     * 仓库id
     */
    private Long warehouseId;

    /**
     * 商品规格ID
     */
    private Long specId;

    /**
     * 调拨单号
     */
    private String bizNo;

    /**
     * 调拨入库金额 金额
     */
    private BigDecimal financeAdjustAmount;


    public AllocationIncomeDTO(String bizNo, Long specId, Long warehouseId, BigDecimal financeAdjustAmount) {
        this.warehouseId = warehouseId;
        this.specId = specId;
        this.bizNo = bizNo;
        this.financeAdjustAmount = financeAdjustAmount;
    }
}
